package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 感恩墙对象 gratitude
 * 
 * @author ruoyi
 * @date 2025-10-27
 */
public class Gratitude extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 感恩墙ID，主键，自增 */
    private Long id;

    /** 发布者ID，关联用户表 */
    @Excel(name = "发布者ID，关联用户表")
    private Long userId;

    /** 感恩文字内容 */
    @Excel(name = "感恩文字内容")
    private String content;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeCount;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long commentCount;

    /** 审核状态：0待审核，1通过，2拒绝 */
    @Excel(name = "审核状态：0待审核，1通过，2拒绝")
    private Long auditStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setLikeCount(Long likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount() 
    {
        return likeCount;
    }

    public void setCommentCount(Long commentCount) 
    {
        this.commentCount = commentCount;
    }

    public Long getCommentCount() 
    {
        return commentCount;
    }

    public void setAuditStatus(Long auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus() 
    {
        return auditStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("likeCount", getLikeCount())
            .append("commentCount", getCommentCount())
            .append("createTime", getCreateTime())
            .append("auditStatus", getAuditStatus())
            .toString();
    }
}
